package hcn.cmc.bean.response;


import hcn.protocol.base.hisPlateform.MsgHeaderRequest;

import javax.xml.bind.annotation.*;
import java.util.List;

@XmlRootElement(name = "BSXml")
@XmlAccessorType(XmlAccessType.FIELD)
public class AddTreatmentResp {
    private MsgHeaderRequest MsgHeader;
    private AddTreatmentResp.MsgBody MsgBody;


    public MsgHeaderRequest getMsgHeader() {
        return MsgHeader;
    }

    public void setMsgHeader(MsgHeaderRequest msgHeader) {
        MsgHeader = msgHeader;
    }

    public AddTreatmentResp.MsgBody getMsgBody() {
        return MsgBody;
    }

    public void setMsgBody(AddTreatmentResp.MsgBody msgBody) {
        MsgBody = msgBody;
    }

    @XmlRootElement(name = "MsgBody")
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class MsgBody{
        private String Status;
        private String Code;
        private String Detail;
        private AddTreatmentResp.MsgBody.Data Data;

        public MsgBody() { }

        public String getStatus() {
            return this.Status;
        }

        public void setStatus(String status) {
            this.Status = status;
        }

        public String getCode() {
            return this.Code;
        }

        public void setCode(String code) {
            this.Code = code;
        }


        public String getDetail() {
            return this.Detail;
        }

        public void setDetail(String detail) {
            this.Detail = detail;
        }

        @XmlElement(name = "Data")
        public AddTreatmentResp.MsgBody.Data getData() {
            return this.Data;
        }

        public void setData(AddTreatmentResp.MsgBody.Data data) {
            this.Data = data;
        }


        @XmlRootElement(name = "Data")
        @XmlAccessorType(XmlAccessType.FIELD)
        public static class Data{

            @XmlElementWrapper(name = "ExmRequestLists")
            @XmlElement(name = "ExmRequestList")
            public List<ExmRequestList> ExmRequestLists;

            public List<ExmRequestList> getExmRequestLists() {
                return ExmRequestLists;
            }

            public void setExmRequestLists(List<ExmRequestList> exmRequestLists) {
                ExmRequestLists = exmRequestLists;
            }

            @XmlAccessorType(XmlAccessType.FIELD)
            public static class ExmRequestList{

                private String OnlineRequestId;
                private String RequestId;
                private String OnlineFeeNo;
                private String FeeNo;

                public String getOnlineRequestId() {
                    return OnlineRequestId;
                }

                public void setOnlineRequestId(String onlineRequestId) {
                    OnlineRequestId = onlineRequestId;
                }

                public String getRequestId() {
                    return RequestId;
                }

                public void setRequestId(String requestId) {
                    RequestId = requestId;
                }

                public String getOnlineFeeNo() {
                    return OnlineFeeNo;
                }

                public void setOnlineFeeNo(String onlineFeeNo) {
                    OnlineFeeNo = onlineFeeNo;
                }

                public String getFeeNo() {
                    return FeeNo;
                }

                public void setFeeNo(String feeNo) {
                    FeeNo = feeNo;
                }
            }
        }

    }
}

